<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenLoong Dynamics Control: GLFW_callbacks.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenLoong Dynamics Control
   &#160;<span id="projectnumber">v0.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9169b0cb79af44479f94c9d6f96547ce.html">sim_interface</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">GLFW_callbacks.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">This is part of OpenLoong Dynamics Control, an open project for the control of biped robot,</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">Copyright (C) 2024 Humanoid Robot (Shanghai) Co., Ltd, under Apache 2.0.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">Feel free to use in any purpose, and cite OpenLoong-Dynamics-Control in any style, to contribute to the advancement of the community.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> &lt;https://gitee.com/panda_23/openloong-dyn-control.git&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> &lt;web@openloong.org.cn&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;mujoco/mujoco.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;GLFW/glfw3.h&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classUIctr.html">   19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classUIctr.html">UIctr</a>{</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classUIctr.html#a4bf86b3aed4b26e00e14729c08ac572a">   21</a></span>&#160;    GLFWwindow *<a class="code" href="classUIctr.html#a4bf86b3aed4b26e00e14729c08ac572a">window</a>; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="classUIctr.html#ac7f7359994a2338fb761080d5fd258b4">UIctr</a>(mjModel *modelIn, mjData *dataIn);</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#a087447123941f53a571a61dc667daafe">iniGLFW</a>();</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#ab1ca66138345f413e29662d2f0d7d07f">createWindow</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *windowTitle, <span class="keywordtype">bool</span> saveVideo);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#a19e0f736d7afbf0d186c296dd36306d4">updateScene</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#a08662b29ecd40b29091da61a6f74f0a9">Keyboard</a>(<span class="keywordtype">int</span> key, <span class="keywordtype">int</span> scancode, <span class="keywordtype">int</span> act, <span class="keywordtype">int</span> mods);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#a2e1bb14aeca15e5fe8db238117e92a2c">Mouse_button</a>(<span class="keywordtype">int</span> button, <span class="keywordtype">int</span> act, <span class="keywordtype">int</span> mods);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#afe0583a3cfb9dfeef3254cb360dd0c06">Mouse_move</a>(<span class="keywordtype">double</span> xpos, <span class="keywordtype">double</span> ypos);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#af995236b8ef2ccd0140581130c4d4b36">Scroll</a>(<span class="keywordtype">double</span> xoffset, <span class="keywordtype">double</span> yoffset);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#afd0f6da49027175ca125ae8b373ec070">Close</a>();</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classUIctr.html#ad381cf5b25d24a8fdd9438c9c7162fe1">enableTracking</a>();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="comment">// keyboard</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classUIctr.html#aecff34160dca93bdb2b5e58b523af5fd">   95</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classUIctr.html#aecff34160dca93bdb2b5e58b523af5fd">keyb</a>{0}; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="keywordtype">int</span> motion_state{0};</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">int</span> motion_state_ex{0};</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="comment">// mouse interaction</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classUIctr.html#a5248ee47688aaff355b1b4649dc1ed8c">   99</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classUIctr.html#a5248ee47688aaff355b1b4649dc1ed8c">button_left</a>{<span class="keyword">false</span>};   </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classUIctr.html#a12a7964c62c00d5eddee3f66d4139324">  100</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classUIctr.html#a12a7964c62c00d5eddee3f66d4139324">button_middle</a>{<span class="keyword">false</span>}; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classUIctr.html#a5eafa2363ee4546fd59d7d4e351dfcc6">  101</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classUIctr.html#a5eafa2363ee4546fd59d7d4e351dfcc6">button_right</a>{<span class="keyword">false</span>};  </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classUIctr.html#a7f99212b42f78d3f07735d9b268e1ad0">  103</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classUIctr.html#a7f99212b42f78d3f07735d9b268e1ad0">runSim</a>{<span class="keyword">true</span>};      </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classUIctr.html#ac9b7897ff484dbc036f3b1aa86e8ec55">  104</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classUIctr.html#ac9b7897ff484dbc036f3b1aa86e8ec55">isContinuous</a>{<span class="keyword">true</span>};</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classUIctr.html#a0b65b69372d6fc3c9c5174896aef9c16">  105</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classUIctr.html#a0b65b69372d6fc3c9c5174896aef9c16">lastx</a>{0};           </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classUIctr.html#a47aff1080ae859c6828ad227da5044c0">  106</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="classUIctr.html#a47aff1080ae859c6828ad227da5044c0">lasty</a>{0};           </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classUIctr.html#ad3e801c8f1138be0b706469d0b32cdf3">  107</a></span>&#160;    mjModel *<a class="code" href="classUIctr.html#ad3e801c8f1138be0b706469d0b32cdf3">mj_model</a>;         </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classUIctr.html#a0b86ee20f850f18989d8e19f1d47ab6d">  108</a></span>&#160;    mjData *<a class="code" href="classUIctr.html#a0b86ee20f850f18989d8e19f1d47ab6d">mj_data</a>;           </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *image_rgb_; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordtype">float</span> *image_depth_;       </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    FILE *file; </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">int</span> width{1200};        </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">int</span> height{800};        </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordtype">bool</span> save_video{<span class="keyword">false</span>}; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">bool</span> isTrack{<span class="keyword">false</span>}; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="comment">// UI handler</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    mjvCamera cam;  </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    mjvOption opt;  </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    mjvScene scn;   </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    mjrContext con; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;};</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassUIctr_html_ac7f7359994a2338fb761080d5fd258b4"><div class="ttname"><a href="classUIctr.html#ac7f7359994a2338fb761080d5fd258b4">UIctr::UIctr</a></div><div class="ttdeci">UIctr(mjModel *modelIn, mjData *dataIn)</div><div class="ttdoc">Construct a new UIctr object.</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00010">GLFW_callbacks.cpp:10</a></div></div>
<div class="ttc" id="aclassUIctr_html_ac9b7897ff484dbc036f3b1aa86e8ec55"><div class="ttname"><a href="classUIctr.html#ac9b7897ff484dbc036f3b1aa86e8ec55">UIctr::isContinuous</a></div><div class="ttdeci">bool isContinuous</div><div class="ttdoc">whether the simulation is continous or paused</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00104">GLFW_callbacks.h:104</a></div></div>
<div class="ttc" id="aclassUIctr_html_aecff34160dca93bdb2b5e58b523af5fd"><div class="ttname"><a href="classUIctr.html#aecff34160dca93bdb2b5e58b523af5fd">UIctr::keyb</a></div><div class="ttdeci">int keyb</div><div class="ttdoc">key being acted</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00095">GLFW_callbacks.h:95</a></div></div>
<div class="ttc" id="aclassUIctr_html_a19e0f736d7afbf0d186c296dd36306d4"><div class="ttname"><a href="classUIctr.html#a19e0f736d7afbf0d186c296dd36306d4">UIctr::updateScene</a></div><div class="ttdeci">void updateScene()</div><div class="ttdoc">update the scene and rerender the window</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00104">GLFW_callbacks.cpp:104</a></div></div>
<div class="ttc" id="aclassUIctr_html_afd0f6da49027175ca125ae8b373ec070"><div class="ttname"><a href="classUIctr.html#afd0f6da49027175ca125ae8b373ec070">UIctr::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">close the glfw and free mujoco sence and context</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00231">GLFW_callbacks.cpp:231</a></div></div>
<div class="ttc" id="aclassUIctr_html_a0b65b69372d6fc3c9c5174896aef9c16"><div class="ttname"><a href="classUIctr.html#a0b65b69372d6fc3c9c5174896aef9c16">UIctr::lastx</a></div><div class="ttdeci">double lastx</div><div class="ttdoc">last mouse x-position</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00105">GLFW_callbacks.h:105</a></div></div>
<div class="ttc" id="aclassUIctr_html_ad381cf5b25d24a8fdd9438c9c7162fe1"><div class="ttname"><a href="classUIctr.html#ad381cf5b25d24a8fdd9438c9c7162fe1">UIctr::enableTracking</a></div><div class="ttdeci">void enableTracking()</div><div class="ttdoc">enable camera tracking mode</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00242">GLFW_callbacks.cpp:242</a></div></div>
<div class="ttc" id="aclassUIctr_html_ad3e801c8f1138be0b706469d0b32cdf3"><div class="ttname"><a href="classUIctr.html#ad3e801c8f1138be0b706469d0b32cdf3">UIctr::mj_model</a></div><div class="ttdeci">mjModel * mj_model</div><div class="ttdoc">mj model pointer</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00107">GLFW_callbacks.h:107</a></div></div>
<div class="ttc" id="aclassUIctr_html_a12a7964c62c00d5eddee3f66d4139324"><div class="ttname"><a href="classUIctr.html#a12a7964c62c00d5eddee3f66d4139324">UIctr::button_middle</a></div><div class="ttdeci">bool button_middle</div><div class="ttdoc">whether middle button is pressed</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00100">GLFW_callbacks.h:100</a></div></div>
<div class="ttc" id="aclassUIctr_html_a08662b29ecd40b29091da61a6f74f0a9"><div class="ttname"><a href="classUIctr.html#a08662b29ecd40b29091da61a6f74f0a9">UIctr::Keyboard</a></div><div class="ttdeci">void Keyboard(int key, int scancode, int act, int mods)</div><div class="ttdoc">keyboard callback</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00148">GLFW_callbacks.cpp:148</a></div></div>
<div class="ttc" id="aclassUIctr_html_afe0583a3cfb9dfeef3254cb360dd0c06"><div class="ttname"><a href="classUIctr.html#afe0583a3cfb9dfeef3254cb360dd0c06">UIctr::Mouse_move</a></div><div class="ttdeci">void Mouse_move(double xpos, double ypos)</div><div class="ttdoc">mouse move callback</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00190">GLFW_callbacks.cpp:190</a></div></div>
<div class="ttc" id="aclassUIctr_html_af995236b8ef2ccd0140581130c4d4b36"><div class="ttname"><a href="classUIctr.html#af995236b8ef2ccd0140581130c4d4b36">UIctr::Scroll</a></div><div class="ttdeci">void Scroll(double xoffset, double yoffset)</div><div class="ttdoc">scroll callback</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00225">GLFW_callbacks.cpp:225</a></div></div>
<div class="ttc" id="aclassUIctr_html"><div class="ttname"><a href="classUIctr.html">UIctr</a></div><div class="ttdoc">User interface control class.</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00019">GLFW_callbacks.h:19</a></div></div>
<div class="ttc" id="aclassUIctr_html_a7f99212b42f78d3f07735d9b268e1ad0"><div class="ttname"><a href="classUIctr.html#a7f99212b42f78d3f07735d9b268e1ad0">UIctr::runSim</a></div><div class="ttdeci">bool runSim</div><div class="ttdoc">whether the simulation is running</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00103">GLFW_callbacks.h:103</a></div></div>
<div class="ttc" id="aclassUIctr_html_ab1ca66138345f413e29662d2f0d7d07f"><div class="ttname"><a href="classUIctr.html#ab1ca66138345f413e29662d2f0d7d07f">UIctr::createWindow</a></div><div class="ttdeci">void createWindow(const char *windowTitle, bool saveVideo)</div><div class="ttdoc">Create a Window object.</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00052">GLFW_callbacks.cpp:52</a></div></div>
<div class="ttc" id="aclassUIctr_html_a4bf86b3aed4b26e00e14729c08ac572a"><div class="ttname"><a href="classUIctr.html#a4bf86b3aed4b26e00e14729c08ac572a">UIctr::window</a></div><div class="ttdeci">GLFWwindow * window</div><div class="ttdoc">glfw window pointer</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00021">GLFW_callbacks.h:21</a></div></div>
<div class="ttc" id="aclassUIctr_html_a2e1bb14aeca15e5fe8db238117e92a2c"><div class="ttname"><a href="classUIctr.html#a2e1bb14aeca15e5fe8db238117e92a2c">UIctr::Mouse_button</a></div><div class="ttdeci">void Mouse_button(int button, int act, int mods)</div><div class="ttdoc">mouse button callback</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00177">GLFW_callbacks.cpp:177</a></div></div>
<div class="ttc" id="aclassUIctr_html_a0b86ee20f850f18989d8e19f1d47ab6d"><div class="ttname"><a href="classUIctr.html#a0b86ee20f850f18989d8e19f1d47ab6d">UIctr::mj_data</a></div><div class="ttdeci">mjData * mj_data</div><div class="ttdoc">mj data pointer</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00108">GLFW_callbacks.h:108</a></div></div>
<div class="ttc" id="aclassUIctr_html_a087447123941f53a571a61dc667daafe"><div class="ttname"><a href="classUIctr.html#a087447123941f53a571a61dc667daafe">UIctr::iniGLFW</a></div><div class="ttdeci">void iniGLFW()</div><div class="ttdoc">initialize glfw</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8cpp_source.html#l00043">GLFW_callbacks.cpp:43</a></div></div>
<div class="ttc" id="aclassUIctr_html_a47aff1080ae859c6828ad227da5044c0"><div class="ttname"><a href="classUIctr.html#a47aff1080ae859c6828ad227da5044c0">UIctr::lasty</a></div><div class="ttdeci">double lasty</div><div class="ttdoc">last mouse y-position</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00106">GLFW_callbacks.h:106</a></div></div>
<div class="ttc" id="aclassUIctr_html_a5248ee47688aaff355b1b4649dc1ed8c"><div class="ttname"><a href="classUIctr.html#a5248ee47688aaff355b1b4649dc1ed8c">UIctr::button_left</a></div><div class="ttdeci">bool button_left</div><div class="ttdoc">whether left button is pressed</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00099">GLFW_callbacks.h:99</a></div></div>
<div class="ttc" id="aclassUIctr_html_a5eafa2363ee4546fd59d7d4e351dfcc6"><div class="ttname"><a href="classUIctr.html#a5eafa2363ee4546fd59d7d4e351dfcc6">UIctr::button_right</a></div><div class="ttdeci">bool button_right</div><div class="ttdoc">whether right button is pressed</div><div class="ttdef"><b>Definition:</b> <a href="GLFW__callbacks_8h_source.html#l00101">GLFW_callbacks.h:101</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
